package easy.springioc.entity;

public class HelloWorld {

    private String name;
    private String age;

    private PersonEntity person;

    public PersonEntity getPerson() {
        return person;
    }

    public void setPerson(PersonEntity person) {
        this.person = person;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "HelloWorld{" +
                "hashCode='" + this.hashCode() + '\'' +
                ", name='" + name + '\'' +
                ", age='" + age + '\'' +
                ", person='" + person + '\'' +
                '}';
    }
}
